package com.zlt.miaosha.redis;

/**
 * @author zhoulitong
 * @date 2018/7/16
 * @description
 */
public class GoodsKey extends BasePrefix {
    public static final int TOKEN_EXPIRE=60;
    private GoodsKey(int expireSeconds,String prefix) {
        super(expireSeconds,prefix);
    }

    public static GoodsKey getGoodsList = new GoodsKey(TOKEN_EXPIRE, "gl");
    public static GoodsKey getGoodsDetail = new GoodsKey(TOKEN_EXPIRE, "gd");
    public static GoodsKey getMiaoshaGoodsStock = new GoodsKey(0, "gs");
}
